﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace HackersDiet
{
    public partial class SettingsPageForm : Form
    {

        private static Settings settings = new Settings();

        public Settings PhysicsDietSettings { get { return SettingsPageForm.settings; } }

        public SettingsPageForm()
        {
            InitializeComponent();
            this.propertyGrid1.SelectedObject = this.PhysicsDietSettings;
        }

        public class Settings
        {
            #region Members

            private int numberOfPagesToImport = 0;
            private string username = string.Empty;
            private string password = string.Empty;

            #endregion

            #region Accessors

            public int NumberOfPagesToImport { get { return this.numberOfPagesToImport; } set { this.numberOfPagesToImport = value; } }

            public string Username { get { return this.username; } set { this.username = value; } }

            public string Password { get { return this.password; } set { this.password = value; } }
            
            #endregion
        }
    }
}
